package com.edu.chat.web.controller;

import com.edu.chat.web.common.model.R;
import com.edu.chat.web.service.CsSceneService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: KQAIA
 * @description:
 * @author: 无恙
 * @create: 2025-04-29 22:34
 **/

@RestController
@RequestMapping("/chat/analysis")
@Slf4j
public class AnalysisDataController {

	@Autowired
	private CsSceneService csSceneService;

	/*
	* @author 范铁凝
	* @date 2025/4/29
	* 分析访问top10的聊天窗
	*/
	@RequestMapping(value = "/scene/top10",method = RequestMethod.GET)
	public R<?> getSceneTop10() {
		return csSceneService.querySceneTop10();
	}
}
